package main

import (
	"fmt"
	"regexp"
)

//正则表达式
func main() {
	s0 := "abc agc arc auuuuuc apppppc"
	reg := regexp.MustCompile("a.c")
	if reg == nil {
		fmt.Println("RegExp Error")
		return
	}
	reslut := reg.FindAllStringSubmatch(s0, -1)
	fmt.Println(reslut)
}
